﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SNpcToBoss extends Object
    {
        public var bossCode:int;
        public var point:SPoint;

        public function SNpcToBoss()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.bossCode);
            this.point.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.bossCode = param1.readInt();
            this.point = new SPoint();
            this.point.__read(param1);
            return;
        }// end function

    }
}
